﻿<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,inital-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no, email=no" />
<title>AG198澳新跨境</title>
<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/swiper.min.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="js/jquery-1.11.2.min.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.mobile.min.js"></script>
<script language="javascript" type="text/javascript" src="js/base.js"></script>
<script language="javascript" type="text/javascript" src="js/jquery.lazyload.js"></script>
<script language="javascript" type="text/javascript" src="js/swiper.min.js"></script>
<style>
    .swiper-container {
        width: 100%;
        height:auto;
    }
    .swiper-slide {
        text-align: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }
.swiper-slide img{ width:100%;}
.swiper-pagination-bullet{ background:#ccc;}
.swiper-pagination-bullet-active{ background:#c00;}
</style>
</head>

<body>
<div class="blayer" id="blayer">
<ul class="share-list clearfix">
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-weixin.png"></span><p>微信</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-pyq.png"></span><p>朋友圈</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-xlwb.png"></span><p>新浪微博</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-qzone.png"></span><p>QQ空间</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-qq.png"></span><p>QQ</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-txwb.png"></span><p>腾讯微博</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-msg.png"></span><p>发短信</p></a></li>
<li><a href="#" class="area"><span class="imgbox"><img src="images/share-fzlj.png"></span><p>复制链接</p></a></li>
</ul>
<div class="opn"><a href="javascript:void(0)" class="btn cancel">取消</a></div>
</div>

<div class="layer" id="layer">
<div class="title">
<span class="name">关税</span>
<span class="close-btn"><i class="ico-close icon"></i></span>
</div>
<div class="text-box">
<p>本商品适用税率为50%，若订单关税≤50元则免征</p>
<p>关税=购买单价 * 件数 * 商品税率</p>
<p>注：不同品类商品的税率不同</p>
</div>
<div class="layer-bot">
<button class="btns ok br-line">确定</button>
<button class="btns cancel">取消</button>
</div>
</div>
<div class="layer-bg" id="layer-bg"></div>

<div class="wrap clearfix">
<header class="header bgf">
<div class="name">商品详情</div>
<span class="back" id="back"><i class="icon-back icon"></i></span>
<span class="share-btn" id="share-btn"><i class="icon-share icon icon-24"></i></span>
</header>
<div class="clear"></div>
<!-- header end -->

<div class="show-pic box">
<div class="swiper-container">
	<div class="swiper-wrapper">
		<div class="swiper-slide"><img src="images/show1.jpg"></div>
		<div class="swiper-slide"><img src="images/show2.jpg"></div>
		<div class="swiper-slide"><img src="images/show3.jpg"></div>
		<div class="swiper-slide"><img src="images/show4.jpg"></div>
		<div class="swiper-slide"><img src="images/show5.jpg"></div>
        <div class="swiper-slide"><img src="images/show6.jpg"></div>
	</div>
	<div class="swiper-pagination"></div>
</div>
</div>

<div class="show-info box">
<div class="price">
<span class="unit">¥1299</span>
<span class="d-rate">5.9折</span>
<span class="d-rate">满99减10</span>
<em class="space"></em>
<span class="c2 tdl">原价：¥199.00</span>
</div>
<div class="name">CLARINS 娇韵诗 塑颜紧致精华露50毫升</div>
<div class="dsp">关爱宝宝营养，怎能缺少DHA和益生菌的完美搭档？为宝宝增添健康饭饭辅食，就从美国嘉宝米粉开始！嘉宝80年，宝宝补铁第一选择。</div>
<ul class="attr-tab clearfix">
<li>销量：<span class="red">1299</span>件</li>
<li>库存：<span class="red">4297</span>件</li>
</ul>
<div class="country">
<span class="flag"><img src="images/flag1.png"></span>
<div class="text">美国 | 杭州一号保税仓发货</div>
<div class="tariff" id="shuifei"><span>税费</span><img src="images/ico-what.png"></div>
</div>
</div>

<ul class="list-tab btline clearfix mt10">
<li class="item"><a href="show-detail.html?num=0" class="tap arrow">
<span class="name">图文详情</span>
<i class="icon-arrow icon"></i>
</a></li>
<li class="item"><a href="show-detail.html?num=1" class="tap arrow">
<span class="name">产品参数</span>
<i class="icon-arrow icon"></i>
</a></li>
<li class="item"><a href="show-faq.html" class="tap arrow">
<span class="name">保税区FAQ</span>
<i class="icon-arrow icon"></i>
</a></li>
</ul>

<div class="show-brand btline bbline">
<a href="brand-show.html" class="tap">
<div class="info">
<i class="ico-arrow icon"></i>
<div class="imgbox box-sizing"><img src="images/l1.jpg"></div>
<div class="text-box">
<div class="name">Salvatore Ferragamo 菲拉格慕</div>
<div class="country"><img src="images/flag1.png"> USA 美国</div>
</div>
</div>
<div class="dsp">Salvatore Ferragamo（菲拉格慕）由同名设计师创立于1927年，经久不衰的意大利经典品牌。</div>
<div class="bus">商家：<span class="black">Nutrilon诺优能官方旗舰店</span></div>
</a>
</div>

<div class="idx-title btline bbline mt10">
<span class="name">同类产品推荐</span>
</div>

<div id="areascroll" class="areascroll">
<div id="scroller" class="scroll-box">
<ul class="area-list box clearfix">
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p5.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p6.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p7.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p8.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p9.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p10.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p11.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p12.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
<li class="item">
<a href="show.html" class="tap">
<div class="imgbox"><img src="images/grey.gif" class="lazy" data-original="images/p13.jpg" /></div>
<div class="name">Aptamil 德国爱他美 1段婴儿奶粉</div>
<div class="price-box"><span class="red">¥119</span><em class="space"></em><span class="tdl c2">¥256</span></div>
</a>
</li>
</ul>
</div>
</div>

<div class="Review btline bbline mt10 box clearfix">
<div class="title">商品评论(432)<span class="link" id="wypl"><font>我要评论</font></span></div>
<ul class="flag-list clearfix">
<li>好评(221)</li>
<li>中评(110)</li>
<li>差评(101)</li>
</ul>

<ul class="Review-list clearfix">
<li>
<span class="pic"><img src="images/user.png"></span>
<div class="text">
<div class="bt">
<span class="name">D调的华丽</span>
<span class="date">2015-04-07 10:44:08</span>
</div>
<div class="star icon"><div class="icon"></div></div>
<p>卖家发货速度很快，奶粉质量不错，宝贝很喜欢喝，满意</p>
</div>
</li>
</ul>
<div class="view-more">
<a href="Review.html" class="btn">查看全部评论</a>
</div>
<!--<div class="no-Review">暂无评论</div>当评论数为0时显示-->
<textarea name="" cols="" rows="" class="Review-tra box-sizing" id="Review-tra" placeholder="请填写评论内容"></textarea>
<ul class="pingfen clearfix" id="pingfen">
<li><label class="ico-radio active"><input name="pingfen" type="radio" checked value=""></label><img src="images/ico-haoping.png" /></li>
<li><label class="ico-radio"><input name="pingfen" type="radio" value=""></label><img src="images/ico-zhongping.png" /></li>
<li><label class="ico-radio"><input name="pingfen" type="radio" value=""></label><img src="images/ico-chaping.png" /></li>
</ul>
<button class="btn Review-btn">我要评论</button>
</div>

<div class="title-bt">留言</div>
<ul class="form-list btline mt10 clearfix">
<li class="item f-list-pl4"><span class="name">留言标题</span><input type="text" class="txt" value="" placeholder="请填标题"></li>
<li class="item"><textarea name="" cols="" rows="" class="txt" style="height:100px;" placeholder="留言内容"></textarea></li>
<li class="item f-list-pl4"><span class="name">验<em class="spacep"></em>证<em class="spacep"></em>码</span><input type="text" class="txt" value="" placeholder="请填写验证码"><span class="yzm"><img src="images/yzm.png"></span></li>
</ul>
<div class="exit-opn"><button class="btn Large">提交留言</button></div>

<div class="clear-bar" id="tariff-box">
<div class="info tab arrow close-btn clearfix">
<i class="ico-arrow active icon"></i>
<span class="bt">税费</span>
</div>

<div class="text-box">本商品适用税率为50%，若订单关税≤50元则免征</div>

</div>

<div class="clear-bar" id="size-box">
<div class="info tab arrow close-btn clearfix">
<i class="ico-arrow active icon"></i>
<span class="bt">颜色</span>
</div>

<dl class="size" id="color">
<dt>颜色</dt>
<dd data-value="黑色" class="active">黑色</dd>
<dd data-value="绿色">绿色</dd>
<dd data-value="红色">红色</dd>
<dd data-value="黄色">黄色</dd>
<dd data-value="白色">白色</dd>
<dd data-value="棕色">棕色</dd>
</dl>

<dl class="size" id="size">
<dt>尺码</dt>
<dd data-value="S" class="active">S</dd>
<dd data-value="M">M</dd>
<dd data-value="L">L</dd>
<dd data-value="XL">XL</dd>
<dd data-value="XXL">XXL</dd>
</dl>
<div class="info bn"><button class="Large btn ok">确认</button></div>
</div>

<div class="clear-bar" id="clear-bar">
<div class="info clearfix">
<div class="imgbox box-sizing"><img src="images/p1.jpg"></div>
<div class="text box-sizing">
<div class="name">Gerber 嘉宝混合水果味酸奶小溶溶豆 宝宝零食 28g</div>
<div class="count-box"><span class="price">¥<font id="unit">99.00</font></span>
<span class="space"></span>
已选 <font id="number" class="black">1</font> 件
</div>
<a href="javascript:void(0);" class="close"><i class="ico-close icon"></i></a>
</div>
</div>
<div class="info tab arrow clearfix" id="slt-size">
<i class="ico-arrow icon"></i>
<span class="bt">颜色、尺码</span>
<span class="dsp" id="size-attr">选择颜色、尺码</span>
</div>

<div class="info tab clearfix">
<span class="bt">数量</span>
<div class="amount">
    <a href="javascript:void(0);" class="Increase" id="Increase"><i class="icon"></i></a>
    <input value="1" type="text" class="inputs" id="buy-num">
    <a href="javascript:void(0);" class="Reduce" id="Reduce"><i class="icon"></i></a>
    </div>
</div>

<div class="info tab clearfix">
<span class="bt">运费</span>
<span class="dsp">至 杭州 免运费</span>
</div>

<div class="info tab arrow clearfix" id="tariff">
<i class="ico-arrow icon"></i>
<span class="bt">税费</span>
<span class="dsp">¥1.40</span>
</div>

<div class="info bn"><a href="order.html" class="Large btn bred">确认购买</a></div>
</div>

<!-- footer begin -->
<div class="clear"></div>
<nav class="bot-nav">
<a href="javascript:void(0);" class="fav-btn br-line box-sizing" id="fav-btn"><i class="ico-fav ico20 icon"></i><p>收藏</p></a>
<a href="car.html" class="fav-btn"><i class="ico-car2 ico20 icon"><span class="car-num" id="car-num">0</span></i><p>购物车</p></a>
<a href="javascript:void(0);" class="ljgm-btn add-car" id="add-car">加入购物车</a>
<a href="javascript:void(0);" class="ljgm-btn" id="ljgm">立即购买</a>
</nav>
</div>

<script language="javascript" type="text/javascript" src="js/iscroll.js"></script>
<script language="javascript" type="text/javascript" src="js/fly.js"></script>
<script language="javascript" type="text/javascript" src="js/requestAnimationFrame.js"></script>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        paginationClickable: true,
        autoplay: 4000,
		loop : true,
        autoplayDisableOnInteraction: false
    });
//图片懒加载
$("img.lazy").lazyload({
	 effect:"fadeIn",
	 threshold:200
	 });
$(function(){
$("#shuifei").bind({
	tap:function(){
		openlayer("layer","layer-bg")
		return false;
		}
		});
		
$("#ljgm").bind({
	tap:function(){
		$("#clear-bar").addClass("active");
		return false;
		}
		});
		
//加入购物车效果
var x1,y1,x2,y2,flyer,imgpath,money,carnum=0,times,i=0;
function addProduct(event,obj) {
	flyer.fly({
    start: {
        left:x1,
        top:y1
    },
    end:{
        left:x2,
        top:y2,
        width:16,
        height:16
    },
	onEnd:function(){
		$("#"+obj).addClass("active");
		clearTimeout(times);
		times=setTimeout(function(){
			$("#"+obj).remove();
			},6000)
		}
	});
	}
$("#add-car").bind({
	tap:function(event){
		x1=0;
		y1=ph-25;
		x2=$("#car-num").offset().left;
		y2=(ph-45);
		carnum=parseInt($("#car-num").text())+1;
		i++;
		flyer=$('<span class="u-flyer" id="u-flyer-'+i+'">1</span>');
		addProduct(event,"u-flyer-"+i);
		if(carnum<100){
			$("#car-num").text(carnum);
		}
		else{
			$("#car-num").text("99+");
			}
		return false;
		}
	});

$("#fav-btn").bind({
	tap:function(){
		if($(this).find(".ico-fav").hasClass("active")){
			$(this).find(".ico-fav").removeClass("active");
			$(this).find("p").text("收藏");
		}
		else{
			$(this).find(".ico-fav").addClass("active");
			$(this).find("p").text("已收藏");
			}
		return false;
		}
		});
		
$("#clear-bar .close").bind({
	tap:function(){
		$("#clear-bar").removeClass("active");
		return false;
		}
		});

$("#slt-size").bind({
	tap:function(){
		$("#size-box").addClass("active");
		$("#clear-bar").removeClass("active");
		return false;
		}
		});
$("#size-box .close-btn").bind({
	tap:function(){
		$("#size-box").removeClass("active");
		$("#clear-bar").addClass("active");
		return false;
		}
		});

$("#tariff").bind({
	tap:function(){
		$("#tariff-box").addClass("active");
		$("#clear-bar").removeClass("active");
		return false;
		}
		});
$("#tariff-box .close-btn").bind({
	tap:function(){
		$("#tariff-box").removeClass("active");
		$("#clear-bar").addClass("active");
		return false;
		}
		});


$(".size dd").bind({
	tap:function(){
		var jq=$(this).parent(".size").find("dd");
		$(jq).removeClass("active");
		$(this).addClass("active");
		return false;
		}
		});
$("#size-box .ok").bind({
	tap:function(){
		$("#size-box").removeClass("active");
		$("#clear-bar").addClass("active");
		$("#size-attr").html($("#color dd.active").attr("data-value")+"、"+$("#size dd.active").attr("data-value"));
		return false;
		}
		});

			
$("#Increase").bind({
		tap:function(){
			var num=parseInt($("#buy-num").val());
			num+=1;
			$("#buy-num").val(num);
			$("#number").text(num);
			return false;
			}
		});
		
$("#Reduce").bind({
		tap:function(){
			var num=parseInt($("#buy-num").val());
			num-=1;
			if(num<=0) num=1; 
			$("#buy-num").val(num);
			$("#number").text(num);
			return false;
			}
		});
		
	$("#pingfen li").bind({
		tap:function(){
			$("#pingfen li").find(".ico-radio").removeClass("active");
			$(this).find(".ico-radio").addClass("active");
			$(this).find(".ico-radio").click();
			}
		});
	
	$("#share-btn").bind({
		tap:function(){
			openlayer("layer-bg","blayer");
			return false;
			}
		});
	
	$("#wypl").bind({
		tap:function(){
			$("#Review-tra").focus();
			return false;
			}
		});
	
var AreaScroll;
NavScroll("#areascroll",3);
function loaded(){
	AreaScroll = new IScroll('#areascroll', {
		eventPassthrough: true,
		scrollX: true,
		scrollY: false,
		preventDefault:false,
		fadeScrollbars:false,
		scrollbars:false
		});
	scroll_h=$("#areascroll li").eq(0).height();
	$("#areascroll").css({"height":scroll_h+"px"});
		}
	loaded();
	$("img.lazy").lazyload({
		container: $(".scroll-box"),
					event : "touchmove"
		});	
	
	setTimeout(function(){
		scroll_h=$("#areascroll li").eq(0).height();
		$("#areascroll").css({"height":scroll_h+"px"});
	},3000);

	});
</script>
</body>
</html>
